#ifndef _STRUCTURES_H_
#define _STRUCTURES_H_

#define DB_NAME "engine/itba" //"../src/server/engine/itba"
#define MAX_SIZE 100
#define MAX_TITLE 17

typedef struct {
	char * name;
	int order;
} t_privilege;

typedef struct {
	t_privilege ** sectors;
	int size;
	int maxSize;
} t_privileges;

typedef struct {
	char title[MAX_TITLE];
} t_document;

typedef struct {
	t_document ** documents;
	int size;
	int maxSize;
} t_documents;

typedef struct {
	char * username;
} t_user;

typedef struct {
	t_user ** users;
	int size;
	int maxSize;
} t_users;

#endif
